<template>
	<view class="mainpadding">
		<view class="ershiba xiaohei textcenter">{{dataAll.title}}</view>
		<view class="strongtext xiaohui margin_top textright">{{httpRequest.timereturn(dataAll.createtime*1000)}}</view>
		<view class="margin_top">
			<u-parse :content="dataAll.content"></u-parse>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				httpRequest,
				content: "",
				listid:"",
				dataAll:{}
			}
		},
		onLoad(options) {
			this.listid = options.id
			this.init()
		},
		methods: {
			init() {
				httpRequest.request('/api/user/niticeDetail', 'GET', {
					id:this.listid
				}).then(res => {
					this.dataAll = res.data
				})
			},
		}
	}
</script>

<style>

</style>